package com.itwill.ecom.boardQnA;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

public interface BoardQnADao {

	/********** 생성 ***********/
	public abstract int createBoardQnA(BoardQnABeans boardQnABeans);
	
	/********** 리스트호출 **********/
	public abstract List<BoardQnABeans> getAllBoardQnA();
	
	/********** id로 게시물 검색 **********/
	public abstract List<BoardQnABeans> getById(String qnaboard_id);
	
	/********** 내 게시물 수정 **********/
	public abstract int updateBoardQnA(BoardQnABeans boardQnABeans);
	
	/********** 내 게시물 삭제 **********/
	public abstract int deleteBoardQnA(int qnaboard_no);
	
	/********** no로 게시글 검색 ***********/
	public abstract BoardQnABeans getByNo(int qnaboard_no);
	

}
